package com.xxdh.service;

import com.xxdh.domain.dto.WorkDto;
import com.xxdh.domain.po.Work;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxdh.domain.vo.WorkStudentVo;
import com.xxdh.domain.vo.WorkTeacherVo;

import java.util.List;

/**
 * <p>
 * 作业表 服务类
 * </p>
 *
 * @author zwg
 * @since 2024-10-19
 */
public interface IWorkService extends IService<Work> {

    void addWork(WorkDto workDto);

    List<WorkStudentVo> getWorkListByStudent(Long studentId);

    List<WorkTeacherVo> getWorkListByTeacher(Long teacherId);

    void submitWork(Long studentId,String workId, String fileAddress);

    void deleteWork(String workId);

    List<WorkTeacherVo> getWorkListByWorkId(String workId);
}
